#ifndef DOCUMENT_H
#define DOCUMENT_H
#include <QWidget>
#include <QGridLayout>
#include <QVBoxLayout>
#include <QString>
#include <QVector>
#include <QResizeEvent>
#include <QSpacerItem>
#include "InputTag.h"
#include "OutputTag.h"

class Document : public QWidget {
	Q_OBJECT
	public:
		Document(QWidget* parent = 0);
		
	signals:
		void evaluateText(const QString&, int);
		
	public slots:
		void inputText(const QString&, int);
		void outputText(const QString&, int);
		
	private:
		QVector<InputTag*> tagInputList;
		
		QVector<OutputTag*> tagOutputList;
		
		QVBoxLayout *layout;
		
		int numCell;
};

#endif
